//
//  HYNetRequestHandle.h
//  Booking
//
//  Created by Duntech on 2018/4/19.
//  Copyright © 2018年 Duntech. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HYNetRequestHandle : NSObject

/** 密码登录 */
+ (void)loginWithPhone:(NSString *)phone password:(NSString *)password complecton:(void(^)(BOOL isSuccess))complection;

/** 获取城市列表 */
+ (void)getCityListComplection:(void(^)(NSArray *cityList))complection;

/** 根据城市ID获取建筑信息 */
+ (void)getBuildingListWithCityID:(NSString *)cityID complection:(void(^)(NSArray *buildingList))complection;

/** 获取会议室列表 */
+ (void)getMeetingRoomComplection:(void(^)(NSArray *meetingRoomList))complection;

/** 获取可预订房间 */
+ (void)getAvailableMeetingRoomWithPageNo:(NSString *)pageNo pageSize:(NSString *)pageSize startTime:(NSString *)startTime endTime:(NSString *)endTime status:(NSString *)status city:(NSString *)city build:(NSString *)build floor:(NSString *)floor markName:(NSString *)markName Complection:(void(^)(NSArray *availableMeetingRoomList))complection;

/** 预定会议室 */
+ (void)bookingMeetingRoomWithCreateBy:(NSString *)createBy attendees:(NSString *)attendees dataSource:(NSString *)dataSource currdate:(NSString *)currdate startDayTime:(NSString *)startDayTime endDayTime:(NSString *)endDayTime markName:(NSString *)markName meetingroomId:(NSString *)meetingroomId organizationman:(NSString *)organizationman outattendees:(NSString *)outattendees remark:(NSString *)remark Complection:(void(^)(BOOL isSuccess))complection;

/** 获取我的会议室预定 */
+ (void)getMyScheduleRoomWithCreateBy:(NSString *)createBy status:(NSString *)status city:(NSString *)city build:(NSString *)build floor:(NSString *)floor startTime:(NSString *)startTime endTime:(NSString *)endTime markName:(NSString *)markName meetingroomId:(NSString *)meetingroomId Complection:(void(^)(NSArray *myScheduleList))complection;

/** 获取我的座位预定 */
+ (void)getMyScheduleSeatWithCreateBy:(NSString *)createBy status:(NSString *)status startTime:(NSString *)startTime endTime:(NSString *)endTime stationId:(NSString *)stationId Complection:(void (^)(NSArray *))complection;

/** 获取可预订座位列表 */
+ (void)getAvailableSeatListWithPageNo:(NSString *)pageNo pageSize:(NSString *)pageSize startTime:(NSString *)startTime endTime:(NSString *)endTime status:(NSString *)status cityId:(NSString *)cityId buildId:(NSString *)buildId floorId:(NSString *)floorId Complection:(void(^)(NSArray *AvailableSeatList))complection;

/** 取消我的预定的会议室 */
+ (void)cancelMyBookingRoomWithMeetingID:(NSString *)meetingID complection:(void(^)(BOOL isSuccess))complection;

/** 获取会议室详情 */
+ (void)getRoomDetailWithMeetingID:(NSString *)meetingID complection:(void(^)(HYBaseNetworkModel *baseModel))complection;

/** 获取工位详情 */
+ (void)getSeatDetailWithSeatID:(NSString *)seatID complection:(void(^)(HYBaseNetworkModel *baseModel))complection;

/** 取消我预定的工位 */
+ (void)cancelMyBookingSeatWithSeatID:(NSString *)seatID complection:(void(^)(BOOL isSuccess))complection;

/** 座位预定 */
+ (void)bookingSeatWithSeatID:(NSString *)seatID currdate:(NSString *)currdate startDayTime:(NSString *)startDayTime endDayTime:(NSString *)endDayTime remark:(NSString *)remark Complection:(void(^)(BOOL isSuccess))complection;

/** 获取可参加会议人列表 */
+ (void)getMeetingInviterListWithPageNo:(NSString *)pageNo pageSize:(NSString *)pageSize Complection:(void(^)(NSArray *meetingInviterList))complection;

/** 搜索可参加会议人列表 */
+ (void)searchMeetingInviterListWithKeywords:(NSString *)keywords complection:(void(^)(NSArray *meetingInviterList))complection;

/** 签到 */
+ (void)signInWithRoomID:(NSString *)roomID complection:(void(^)(BOOL isSuccess))complection;

/** 签到ipad */
+ (void)signInIPadWithRoomID:(NSString *)roomID registerId:(NSString *)registerId complection:(void(^)(BOOL isSuccess))complection;

/** 密码登录ipad */
+ (void)loginIpadWithRegisterId:(NSString *)registerId complecton:(void(^)(BOOL isSuccess))complection;

@end
